package com.example.cloud.domain.model.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.cloud.domain.common.BaseInfo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * </p>
 *
 * @author tongyufu
 * @since 2018-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user")
public class UserInfo extends BaseInfo<Integer> {

    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    private String            name;
    /**
     * 年龄
     */
    private Integer           age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
